Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Clint Grady via ntg-context
ntg-context wrote: > On 2021-11-24, Aditya Mahajan via ntg-context wrote: > > I don't know what is the current state of context syntax highlighting > > support in vim/neovim (I use a highly modifies syntax file). It will > > be nice to have support of \startMP(code|p

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Nicola via ntg-context
On 2021-11-24, Aditya Mahajan via ntg-context wrote: > I don't know what is the current state of context syntax highlighting > support in vim/neovim (I use a highly modifies syntax file). It will > be nice to have support of \startMP(code|page) and \startluacode to do > syntax

Re: [NTG-context] Neovim and ConTeXt

2021-11-24 Thread Aditya Mahajan via ntg-context
..) which could be integrated. I don't know what is the current state of context syntax highlighting support in vim/neovim (I use a highly modifies syntax file). It will be nice to have support of \startMP(code|page) and \startluacode to do syntax highlighting for metapost and lua. Metafun has

Re: [NTG-context] MetaPost Examples

2021-09-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.09.2021 um 14:45 schrieb Hans Hagen via ntg-context > : > > On 9/1/2021 2:19 PM, Henning Hraban Ramm via ntg-context wrote: >> Hi, I’m trying to “translate” the documentation of “fiziko”* from LaTeX to >> ConTeXt and would like to avoid the doubling of M

Re: [NTG-context] MetaPost Examples

2021-09-01 Thread Hans Hagen via ntg-context
On 9/1/2021 2:19 PM, Henning Hraban Ramm via ntg-context wrote: Hi, I’m trying to “translate” the documentation of “fiziko”* from LaTeX to ConTeXt and would like to avoid the doubling of MP code like: \startMP path p; p := (0,0){dir(30)}..(5cm, 0)..{dir(30)}(10cm, 0); draw brush

[NTG-context] MetaPost Examples

2021-09-01 Thread Henning Hraban Ramm via ntg-context
Hi, I’m trying to “translate” the documentation of “fiziko”* from LaTeX to ConTeXt and would like to avoid the doubling of MP code like: \startMP path p; p := (0,0){dir(30)}..(5cm, 0)..{dir(30)}(10cm, 0); draw brush (p)(2minStrokeWidth*sin(offsetPathLength*pi)); \stopMP \startMPcode

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
h,frame=on,offset=1cc,] # >\setuptyping[MP][before={\startMPT},after={\stopMPT},] # >\startMP bla \stopMP # >\stoptext # > # >Now I tried it with ConTeXt from TL2019 (TL2018 produces the same result as TL2019) # >and I have got _two_ boxes -- the outer one is correct and frames the typing

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Otared Kavian
wframe\defineframedtext[MPT][background="" class="">\setuptyping[MP][before={\startMPT},after={\stopMPT},]\startMP bla \stopMP\stoptextNow I tried it with ConTeXt from TL2019 (TL2018 produces the same result as TL2019)and I have got _two_ boxes -- the outer one is correct and fr

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Wolfgang Schuster
,frame=on,offset=1cc,] \setuptyping[MP][before={\startMPT},after={\stopMPT},] \startMP bla \stopMP \stoptext Now I tried it with ConTeXt from TL2019 (TL2018 produces the same result as TL2019) and I have got _two_ boxes -- the outer one is correct and frames the typing environment as in the past

[NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
={\startMPT},after={\stopMPT},] \startMP bla \stopMP \stoptext Now I tried it with ConTeXt from TL2019 (TL2018 produces the same result as TL2019) and I have got _two_ boxes -- the outer one is correct and frames the typing environment as in the past whereas the new box frames the text inside

Re: [NTG-context] Syntax hightlighting

2019-08-28 Thread Hans Hagen
: \startMP draw (0,0) withpen pencircle 1in withcolor red ; \stopMP \stoptext %—— I obtain a color syntax output (« draw » in red, « within » in green for example). This code does not work anymore in MKIV (every word is the same color, green). There should be a solution ? Hard to say without

[NTG-context] Syntax hightlighting

2019-08-28 Thread Fabrice L
Dear list, I’m using colored verbatim code (for course notes). In the past, I modified verb-mp.mkii for the langage I need (SAS). This code works fine with MKII: %—— \setupcolors[state=start] \definetyping [MP] [option=MP] \starttext A example: \startMP draw (0,0) withpen pencircle 1in

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-12 Thread Nicola
by ctrl-o) and it works inside \startMP...\stopMP... blocks. Doesn't that work for you? Maybe you expected the suggestions to pop-up without pressing any key? For that, you need a plugin like NeoComplete or AutoComplPop. Nicola

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Jan Willem Flamma
$ and a$ text objects; > > - better integration with MetaPost (indentation and autocompletion > inside \startMP...\stopMP... works automatically); > > - syntax highglighting can be enabled for any nested filetype (MetaPost > and Lua are enabled by default); > > - compiler

[NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-10 Thread Nicola
a paragraph); - i$ and a$ text objects; - better integration with MetaPost (indentation and autocompletion inside \startMP...\stopMP... works automatically); - syntax highglighting can be enabled for any nested filetype (MetaPost and Lua are enabled by default); - compiler plugin, supporting

Re: [NTG-context] Ctx: list of commands

2012-09-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
, 46291 }, [startLuaSnippetNameCore]={ 127, 245803, 61132 }, [startLuaSnippetNameLibraries]={ 127, 246257, 38877 }, [startLuaSnippetQuote]={ 127, 246898, 19907 }, [startLuaSnippetSpecial]={ 127, 247006, 23901 }, [startLuaSnippetString]={ 127, 246646, 61126 }, [startMP]={ 127, 245820, 14236

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
Matthijs Kooijman wrote: Hi all, according to the wiki, and the current code, the arguments to \installprettytype should be uppercased. E.g.: because want uppercase \startTEX \stopTEX \startMP \stopMP \startLUA \stopLUA \installprettytype [PHP][PHP] Referring to them should